package com.qiguliuxing.dts.db.dao.ex;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qiguliuxing.dts.db.domain.DtsGoodsProduct;
import org.apache.ibatis.annotations.Param;

public interface GoodsProductMapper extends BaseMapper<DtsGoodsProduct> {
	int addStock(@Param("id") Integer id, @Param("num") Short num);

	int reduceStock(@Param("id") Integer id, @Param("num") Short num);

	int addBrowse(@Param("id") Integer id, @Param("num") Short num);

	int addSales(@Param("id") Integer id, @Param("num") Short num);
}